<?php if ($this->login) : ?>
    <?php include 'index_header.phtml' ?>
<?php else : ?>
    <header>
        <a title="Peslook" href="<?php echo $this->basePath() ?>">
            <div class="logo"></div>
        </a>
        <div class="login_form">
            <?php include 'app_login.phtml' ?>
        </div>
    </header>
<?php endif ?>